

package tiebreak.UI;

/*
 * TabbedPaneDemo.java requires one additional file:
 *   images/middle.gif.
 */

import java.sql.SQLException;
import java.awt.event.KeyEvent;

public class TieBreakTrainingTab extends TieBreakContentPane {
    public TieBreakTrainingTab() throws SQLException {
        
        this.addTab("Training main", null, new AbstractTieBreakPane(new TieBreakTrainingCoach()),
                "Show all the coaches");
        setMnemonicAt(0, KeyEvent.VK_1);

        this.addTab("Trained users", null, new AbstractTieBreakPane(new TieBreakTrainingTrainedByCoach()),
                "Show user trained by a coach and what team the belongs to.");
        setMnemonicAt(0, KeyEvent.VK_2);
    }

    
}
